package com.example.demo.mapper;

import com.example.demo.model.ArticleInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: H_tao_X
 * Date: 2022-07-27
 * Time: 15:10
 */
// 多表查询
@Mapper
public interface ArticleMapper {


    // 根据文章 id 获取文章
    public ArticleInfo getArticleById(@Param("id") Integer id);
}
